<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>变量练习</title>
</head>
<body>
    <script>
        // 声明变量存储用户购买商品数量并且数量为20
        let num=20
        // 控制台打印输出
        console.log(num)
        // 声明变量存储姓名并且赋值为张三
        let uname='张三'
        // 控制台打印输出
        console.log(uname)
    </script>
    
</body>
</html>